package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公司管理对象 dept
 * 
 * @author ruoyi
 * @date 2021-04-01
 */
public class Dept extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long deptId;

    /** 公司明名称 */
    @Excel(name = "公司明名称")
    private String deptName;

    /** 所属城市 */
    @Excel(name = "所属城市")
    private String deptDis;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date deptTime;

    /** 使用状态0可用1删除 */
    @Excel(name = "使用状态0可用1删除")
    private String deptState;

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }
    public void setDeptDis(String deptDis) 
    {
        this.deptDis = deptDis;
    }

    public String getDeptDis() 
    {
        return deptDis;
    }
    public void setDeptTime(Date deptTime) 
    {
        this.deptTime = deptTime;
    }

    public Date getDeptTime() 
    {
        return deptTime;
    }
    public void setDeptState(String deptState) 
    {
        this.deptState = deptState;
    }

    public String getDeptState() 
    {
        return deptState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deptId", getDeptId())
            .append("deptName", getDeptName())
            .append("deptDis", getDeptDis())
            .append("deptTime", getDeptTime())
            .append("deptState", getDeptState())
            .toString();
    }
}
